<?php if (!defined('THINK_PATH')) exit(); if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="item <?php if($vo['thumb_w'] > $vo['thumb_h']): ?>col2<?php else: ?>col1<?php endif; ?>"><a href="<?php echo ($vo['imgurl']); ?>" onclick="return downimg(this);" ><img width="114" height="171" onload="ShowItem(this);" src="<?php echo ($vo['thumb']); ?>" /></a></div><?php endforeach; endif; else: echo "" ;endif; ?>